package com.cyys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cyys.entity.CategoryGoods;

import java.util.List;

/**
 *
 * @description CategoryGoodsService
 * @author Administrator
 * @date 2022-05-26 15:06
 */

public interface CategoryGoodsService extends IService<CategoryGoods> {



    /**
     * 多表查询id
     * @param categoryGoods
     * @return
     */
    List<CategoryGoods> findCategoryGoodsList(CategoryGoods categoryGoods);

    List<CategoryGoods> listByIds(Integer id);

    /**
     * 多表查询label    推荐——新品
     * @param categoryGoods
     * @return
     */
    List<CategoryGoods> findCategoryGoodsListRecommend(CategoryGoods categoryGoods);


    /**
     * 搜索
     * @param categoryGoods
     * @return
     */
    List<CategoryGoods> search(CategoryGoods categoryGoods);

}
